#pragma execution_character_set("utf-8")
#include "ProjectData.h"
#include "ProjectDlg.h"
#include"Global.h"

ProjectData::ProjectData()
{

}

ProjectData::~ProjectData()
{

}

void ProjectData::writeData(MyAlgoDialog* p)
{
	// = pDlg->;
	auto pDlg = static_cast<ProjectDlg*> (p);
	m_id = pDlg->m_AlgoName.tostr();
}


void ProjectData::readData(MyAlgoDialog* p)
{
	//pDlg-> = ;
	auto pDlg = static_cast<ProjectDlg*> (p);
	pDlg->m_AlgoName = toqstr(m_id);
}